import { http } from './Http'

export const updateUser = (user: User) => {
    return http.patch<Response<User>>('/v1_0/user/profile', user, { headers: {"Content-Type": "application/json"} })
}